# -*- conding:UTF-8 -*-

'''
@ Project: P7_project
@ File: migrate.py
@ Author: 罗婷
@ Date：2022/5/27 14:55

'''
# 迁移脚本
from flask_migrate import Migrate, MigrateCommand
from flask_script import Manager

from main import app
from models.users import *

manage = Manager(app)
migrate = Migrate(app, db)
manage.add_command('db', MigrateCommand)

if __name__ == '__main__':
    manage.run()





